package com.itheima.question.service;

import com.itheima.PageVo;
import com.itheima.admin.dto.PageDto;
import com.itheima.admin.dto.QuestionDto;
import com.itheima.admin.vo.QuestionVo;

public interface IQuestionService {
    boolean addQuestion(QuestionDto questionDto);

    PageVo<QuestionVo> queryByPage(PageDto pageDto);

    QuestionDto queryById(String id);
}
